package com.pinecone.service;

import com.pinecone.entity.SysUserEntity;

import java.util.List;
import java.util.Map;

/**
 * 系统用户表
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:17:59
 */
public interface SysUserService {
	
	SysUserEntity queryObject(Integer userId);
	
	List<SysUserEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysUserEntity sysUser);
	
	void update(SysUserEntity sysUser);
	
	void delete(Integer userId);
	
	void deleteBatch(Integer[] userIds);

    void registerSysUser(SysUserEntity userEntity, Integer roleId);

    String login(String username, String password);
}
